﻿using DynamicQuartz.Schedule.Core;
using Quartz;

namespace DynamicQuartz.Schedule
{
    public interface IQuartzService
    {
        Task<List<JobDetail>> GetAllJobs();
        Task<ResultBaseDto> ImmediatelyExecuteJob(JobKey jobKey);
        Task<ResultBaseDto> ResumeJob(JobKey jobKey);
        Task<ResultBaseDto> SuspendJob(JobKey jobKey);
    }
}